package com.zkthink.ceres.product.vo;

import com.zkthink.ceres.product.dto.ProductAttrCombineSaveDTO;
import com.zkthink.ceres.product.dto.ProductAttrSaveDTO;
import com.zkthink.ceres.product.dto.ProductSkuAttrSaveDTO;
import com.zkthink.ceres.product.dto.StoreDTO;
import com.zkthink.ceres.product.entity.*;
import com.zkthink.ceres.promotion.vo.web.PromotionShowVO;
import com.zkthink.ceres.promotion.vo.web.PromotionVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@ApiModel("商详对象")
@Data
public class ProductVO extends Product {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品图片列表")
    private List<String> imgs;

    @ApiModelProperty("邮费")
    private Long postFee;

    @ApiModelProperty
    private StoreDTO storeDTO;

    @ApiModelProperty("规格列表")
    private List<ProductAttrCombineSaveDTO> attrList;

    @ApiModelProperty("商品sku列表")
    private List<ProductSkuVO> productSkuVOList;

    @ApiModelProperty("发货地址")
    private String shipAddress;

    @ApiModelProperty("付款人数")
    private Integer buyCount;

    @ApiModelProperty("参加的活动列表")
    private List<PromotionShowVO> promotionShowVOList;

    @ApiModelProperty("平台贡献值设置")
    private ProductContributionConfig productContributionConfig;

    @ApiModelProperty("会员买商品的折扣和贡献值分配设置")
    private ProductDiscContriConfig productDiscContriConfig;

    @ApiModelProperty("折扣配置表")
    private ProductDiscountConfig productDiscountConfig;

}
